﻿using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using PSE.Deployment.SetupBase.Configuration;
using PSE.Framework.Common;
//using Sinacor.Deployment.Setup.Configuration;

namespace Deployment.Manager.Configuration
{
    [System.Serializable]
    public class Release
    {
        [XmlAttribute()]
        public bool Built { get; set; }
        public Version Version { get; set; }
        public List<Version> UpgradeVersions { get; set; }
        public List<ReleaseProject> Projects { get; set; }
        public List<Group> InternalGroups { get; set; }
        public List<Group> ExternalGroups { get; set; }
        //public DataBase DataBase { get; set; }
        //public DataBaseScripts Scripts { get; set; }

        public Release()
        {
            this.Built = false;
            this.Version = new Version();
            InternalGroups = new List<Group>();
            ExternalGroups = new List<Group>();
            //DataBase = new DataBase();
            //Scripts = new DataBaseScripts();
        }
    }
}